Skip to content

Sync eng/common directory with azure-sdk-tools for PR 12478#6793

Merged
azure-sdk merged 11 commits intomainfrom
sync-eng/common-users/raych1/update-validat-pkg-template-12478
Oct 20, 2025
Merged

Sync eng/common directory with azure-sdk-tools for PR 12478#6793
azure-sdk merged 11 commits intomainfrom
sync-eng/common-users/raych1/update-validat-pkg-template-12478

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#12478 See eng/common workflow

@azure-sdk azure-sdk requested a review from a team as a code owner October 15, 2025 23:29
@azure-sdk azure-sdk requested review from Copilot and raych1 October 15, 2025 23:29
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Oct 15, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR synchronizes the eng/common directory with azure-sdk-tools, consolidating package validation logic by folding Validate-Package.ps1 functionality directly into Validate-All-Packages.ps1 and converting Update-DevOps-Release-WorkItem.ps1 into a reusable function. This refactoring reduces script call overhead and improves efficiency by performing authentication and DevOps access checks once for all packages rather than per-artifact.

Key changes:

  • Consolidated package validation logic into Validate-All-Packages.ps1 with new helper functions
  • Converted Update-DevOps-Release-WorkItem.ps1 to a function in DevOps-WorkItem-Helpers.ps1
  • Added support for direct PackageInfoFiles parameter as an alternative to ArtifactList

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
eng/common/scripts/Validate-All-Packages.ps1 Consolidated validation logic with new helper functions and added PackageInfoFiles parameter support
eng/common/scripts/Prepare-Release.ps1 Updated to call Update-DevOpsReleaseWorkItem function instead of external script
eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1 Added authentication helper functions and converted Update-DevOps-Release-WorkItem script to function
eng/common/pipelines/templates/steps/validate-all-packages.yml Added PackageInfoFiles parameter with proper typing

Comment thread eng/common/scripts/Validate-All-Packages.ps1 Outdated
Comment thread eng/common/scripts/Validate-All-Packages.ps1 Outdated
Comment thread eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1 Outdated
@azure-sdk azure-sdk force-pushed the sync-eng/common-users/raych1/update-validat-pkg-template-12478 branch 6 times, most recently from 1af29f8 to 40ad36e Compare October 16, 2025 21:45
@azure-sdk azure-sdk force-pushed the sync-eng/common-users/raych1/update-validat-pkg-template-12478 branch from 40ad36e to 589b021 Compare October 16, 2025 22:38
@azure-sdk azure-sdk force-pushed the sync-eng/common-users/raych1/update-validat-pkg-template-12478 branch from 589b021 to acce4b3 Compare October 17, 2025 16:43
@azure-sdk azure-sdk merged commit 3587514 into main Oct 20, 2025
39 checks passed
@azure-sdk azure-sdk deleted the sync-eng/common-users/raych1/update-validat-pkg-template-12478 branch October 20, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants